#ifndef __BWLIB_CONFIG_H__
#define __BWLIB_CONFIG_H__
#include <utility>

#define __BWLIB_SAFER_CHECK
#if __cplusplus >= 201103L
#define __BWLIB_CXX11
#define __BWLIB_NOEXCEPT noexcept
#define __BWLIB_MOVE(t)	 move(t)
#else
#define __BWLIB_NOEXCEPT throw()
#define __BWLIB_MOVE(t)  (t)
#endif

// 添加 gmpxx 支持
#ifdef __GMP_PLUSPLUS__
#define __BWLIB_WITH_GMPXX
#endif

namespace bwlib
{
#ifdef __BWLIB_CXX11
	using std::move;
#endif
}

#endif
